package com.lin.chapter32.chapter1.command;

public class GzipReceiver implements IReceiver {
	@Override
	public boolean compress(String source, String to) {
		System.out.println(source + " --> " + to + "Gzip压缩成功！");
		return true;
	}

	@Override
	public boolean uncompress(String source, String to) {
		System.out.println(source + " --> " + to + " Zip解压缩成功");
		return true;
	}
}
